package com.example.user.dao;

import base.BaseMapper;
import entity.UserEntity;
import org.apache.ibatis.annotations.Select;

public interface UserMapper extends BaseMapper<UserEntity> {




    @Select("select * from user where userName=#{userName} and password=#{password}")
    public UserEntity loginWithUsernameAndPass(String userName,String password);
//
//    public List<UserEntity> searchSomeByPage(UserEntity userParam);
//
//    @Select("select * from user where id=#{userId}")
//    UserEntity getOneById(String userId);
//
//    public int addOne(UserEntity userEntity);
//
//    @Delete("delete from user where id = #{userId}")
//    public int deleteOneTrue(String userId);
//
//
//    public int updateUser(UserEntity userEntity);
//
//    public List<UserEntity> superSearch(String superSearchKeyWord);
//
//    public int deleteBatchUserTrue(List<String> ids);
//
//    public int deleteBatchUserLogical(List<String> ids);
}
